﻿ 
function Tpstep()
{
$('SIntroduction').style.display="none";
 if($('Introduction').value==""||$('Introduction').value.length>4000){$('SIntroduction').style.display="";return;}
showProgressBar(true);
 WebServices.User.Teach.AddTeachProfile3($('Introduction').value, $('VideoCode').className=='grey12 common420'?'':$('VideoCode').value,"4",onners);   
}
function onners(reft)
{
showProgressBar(false);
if(reft)
{
      top.location="/invite_teach/Tpstep4.htm";
}else
{
$get("MessagesBox").style.display='';
}

}
 function show(a)
{
 $(a).style.display=""; 
}
function conceal(a)
{
$(a).style.display="none";  
}